package com.hundsun.aitest;

import com.hundsun.aitest.common.ApiPlatformConfig;
import com.hundsun.aitest.common.BladePlatformConfig;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

@Slf4j
@SpringBootApplication
@MapperScan(value = "com.hundsun.aitest.dao")
@EnableConfigurationProperties({BladePlatformConfig.class, ApiPlatformConfig.class})
public class AitestGenerateApplication implements CommandLineRunner {

    public static void main(String[] args) {
        SpringApplication.run(AitestGenerateApplication.class, args);
    }

    @Override
    public void run(String... args) throws Exception {
        log.info("run starting ...");
    }
}
